package com.atguigu.edustatistics.client;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 25169
 */
@FeignClient("service-ucenter")
public interface UcenterClient {
    /**
     * 查询某一天有多少注册人数
     * @param day
     * @return
     */
    @GetMapping("/educenter/ucentermember/countRegister/{day}")
    R countRegister(@PathVariable("day") String day);
}
